package com.alibaba.dingtalk.openapi.newmessage.entity;/*/*/

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 链接消息
 * @author 魏荣杰
 * @date 2019/3/21 16:01
 * @since v1.0
 * @version v1.0
 */
@Setter
@Getter
@ToString
public class Link extends AbstractMessage {
    private static final long serialVersionUID = 4157022326011589302L;

    /**
     * 	消息点击链接地址，当发送消息为E应用时支持E应用跳转链接
     */
    private String messageUrl;

    /**
     * 图片地址
     */
    private String picUrl;

    /**
     * 消息标题
     */
    private String text;

    /**
     * 	消息描述
     */
    private String title;

    @Override
    public String type() {
        return "link";
    }
}
